PeachDrawing.Core

PeachDrawing.Core.Canvas

Canvas.DrawPolygon(Brush, PaintPoint[]) Method

Fills the interior of a polygon defined by an array of points specified by PaintPoint structures.

public abstract void DrawPolygon(PeachDrawing.Core.Brush brush, PeachDrawing.Core.PaintPoint[] points);

Parameters

brush Brush

Brush that determines the characteristics of the fill.

points PaintPoint[]

Array of PaintPoint structures that represent the vertices of the polygon to fill.